module com.zyz.demo {
    requires javafx.controls;
    requires javafx.fxml;

    requires com.dlsc.formsfx;
    requires org.kordamp.bootstrapfx.core;
    requires com.almasb.fxgl.all;

    opens com.zyz.demo to javafx.fxml;
    exports com.zyz.demo;

    exports desktop.pet.demo;          // 允许模块外访问你的包
    opens desktop.pet.demo to javafx.graphics; // 允许反射访问你的包
}